@echo off
set PATH=%PATH%;D:\install\tomcat-ip\jre7\jre\bin
set "JAVA_OPTS= -Xmx256m "
set "DIR=%~dp0%"

echo Using Duser.dir: %DIR%
echo Using CLASSPATH: %DIR%lib
echo Using JAVA_OPTS: %JAVA_OPTS%
echo Using LOG  PATH: %DIR%logs
rem set CLASSPATH=%CLASSPATH%;%DIR%lib\find-data-tunnel-1.0.0.0.jar;%DIR%lib\log4j-1.2.16.jar;%DIR%lib\commons-logging-1.0.jar;%DIR%lib\dt.properties;%DIR%\lib\log4j.properties
set CLASSPATH=%CLASSPATH%;%DIR%lib
set CLASSPATH=%CLASSPATH%;%DIR%lib\finder-dt-main-0.0.1-SNAPSHOT.jar;%DIR%lib\finder-dt-processor-0.0.1-SNAPSHOT.jar;%DIR%lib\finder-dt-processor-default-0.0.1-SNAPSHOT.jar;%DIR%lib\iv-dt-processor-0.0.1-SNAPSHOT.jar;%DIR%lib\commons-logging-1.0.jar;%DIR%lib\log4j-1.2.16.jar;%DIR%lib\finder-dt-config-0.0.1-SNAPSHOT.jar

java -Duser.dir=%DIR% %JAVA_OPTS%   cn.finder.datatunnel.DT